package com.mixpanel.android.viewcrawler;

import com.mixpanel.android.mpmetrics.OnMixpanelTweaksUpdatedListener;
import com.mixpanel.android.mpmetrics.Tweaks;

import org.json.JSONArray;

/* This interface is for internal use in the Mixpanel library, and should not be
   implemented in client code. */
public interface UpdatesFromMixpanel {
    public void startUpdates();

    public void applyPersistedUpdates();

    public void setEventBindings(JSONArray bindings);

    public void storeVariants(JSONArray variants);

    public void setVariants(JSONArray variants);

    public Tweaks getTweaks();

    public void addOnMixpanelTweaksUpdatedListener(OnMixpanelTweaksUpdatedListener listener);

    public void removeOnMixpanelTweaksUpdatedListener(OnMixpanelTweaksUpdatedListener listener);
}
